package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-库存模块-采购单申请项
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_stock_purchase_apply_item")
@ApiModel(value = "ErpStockPurchaseApplyItem对象", description = "ERP系统-库存模块-采购单申请项")
public class ErpStockPurchaseApplyItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("采购申请单ID")
    private Integer applyId;

    @ApiModelProperty("品类ID")
    private Integer categoryId;

    @ApiModelProperty("货品ID")
    private Integer goodsId;

    @ApiModelProperty("货品品牌ID")
    private Integer brandId;

    @ApiModelProperty("货品品牌")
    private String brandName;

    @ApiModelProperty("货品SKU")
    private String goodsSku;

    @ApiModelProperty("货品名称")
    private String goodsName;

    @ApiModelProperty("货品属性值:[{\"attribute_id\":1,\"attribute_name\":\"接口\",\"value_id\":1,\"value_name\":\"2+6大电流方口\"},.....]")
    private String goodsValue;

    @ApiModelProperty("供应商品名")
    private String supplierNum;

    @ApiModelProperty("质保年限")
    private Integer qualityYear;

    @ApiModelProperty("产地")
    private String productionPlace;

    @ApiModelProperty("成本单价")
    private BigDecimal price;

    @ApiModelProperty("总价")
    private BigDecimal money;

    @ApiModelProperty("数量")
    private Integer amount;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("已到货数量")
    private Integer inAmount;

    @ApiModelProperty("剩余数量")
    private Integer balanceAmount;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
